function preview(imgsrc) {
	window.open("images/thumbs/" + imgsrc, "popup", "width=400, height=310");
}